package com.mikufufu.blog.model.dto.api;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;

@Data
public class FriendLinkParam {

    /**
     * 友链网站名
     */
    @ApiModelProperty(value="友链网站名")
    private String siteName;

    /**
     * 网址
     */
    @ApiModelProperty(value="网址")
    private String siteUrl;

    /**
     * 简介
     */
    @ApiModelProperty(value="简介")
    private String remark;

    /**
     * Logo/头像路径
     */
    @ApiModelProperty(value="Logo/头像路径")
    private String logoUrl;

    /**
     * 站长邮箱
     */
    @Email
    @ApiModelProperty(value="站长邮箱")
    private String email;

    @ApiModelProperty(value="验证码")
    private String code;
}
